Enter a type and click search.




Results for Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult

File: vendor/magento/module-theme/etc/di.xml

<virtualType name="Magento\Theme\Model\ResourceModel\Design\Config\Grid\Collection"
             type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
    <arguments>
        <argument name="mainTable" xsi:type="string">
            design_config_grid_flat
        </argument>
        <argument name="resourceModel" xsi:type="string">
            Magento\Theme\Model\ResourceModel\Design\Config
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual Magento\Theme\Model\ResourceModel\Design\Config\Grid\Collection object that it should return a Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult object.

This configuration tells the Object Manager that when a user wants a Magento\Theme\Model\ResourceModel\Design\Config\Grid\Collection object that the following arguments should be used in the foo object's constructor.

  • $mainTable = "design_config_grid_flat";
  • $resourceModel = "Magento\Theme\Model\ResourceModel\Design\Config";
Results for Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult

File: vendor/magento/module-search/etc/di.xml

<virtualType name="Magento\Search\Model\ResourceModel\Synonyms\Grid\Collection"
             type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
    <arguments>
        <argument name="name" xsi:type="string">
            search_synonyms_grid_data_source
        </argument>
        <argument name="primaryFieldName" xsi:type="string">
            group_id
        </argument>
        <argument name="requestFieldName" xsi:type="string">
            id
        </argument>
        <argument name="mainTable" xsi:type="string">
            search_synonyms
        </argument>
        <argument name="resourceModel" xsi:type="string">
            Magento\Search\Model\ResourceModel\SynonymGroup
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual Magento\Search\Model\ResourceModel\Synonyms\Grid\Collection object that it should return a Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult object.

This configuration tells the Object Manager that when a user wants a Magento\Search\Model\ResourceModel\Synonyms\Grid\Collection object that the following arguments should be used in the foo object's constructor.

  • $name = "search_synonyms_grid_data_source";
  • $primaryFieldName = "group_id";
  • $requestFieldName = "id";
  • $mainTable = "search_synonyms";
  • $resourceModel = "Magento\Search\Model\ResourceModel\SynonymGroup";
Results for Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult

File: vendor/magento/module-catalog-rule/etc/di.xml

<virtualType name="catalogRuleSearchResult"
             type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
    <arguments>
        <argument name="mainTable" xsi:type="string">
            catalogrule
        </argument>
        <argument name="resourceModel" xsi:type="string">
            \Magento\CatalogRule\Model\ResourceModel\Rule
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual catalogRuleSearchResult object that it should return a Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult object.

This configuration tells the Object Manager that when a user wants a catalogRuleSearchResult object that the following arguments should be used in the foo object's constructor.

  • $mainTable = "catalogrule";
  • $resourceModel = "\Magento\CatalogRule\Model\ResourceModel\Rule";